using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class BusinessInfo
    {
        #region Model
        private int _id = 0;
        private string _nickname = "";
        private string _headimg = "";
        private string _servicetypeinfo = "";
        private string _verifytypeinfo = "";
        private string _username = "";
        private string _principalname = "";
        private string _alias = "";
        private string _businessinfo = "";
        private string _qrcodeurl = "";
        private string _authorizationinfo = "";
        private string _authorizationappid = "";
        private string _funcinfo = "";
        private string _authorizeraccesstoken = "";
        private string _authorizerrefreshtoken = "";
        private DateTime _createdate = DateTime.Parse("2015-01-01 00:00:00");
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 授权方昵称
        /// </summary>
        public string NickName
        {
            set { _nickname = value; }
            get { return _nickname; }
        }
        /// <summary>
        /// 授权方头像
        /// </summary>
        public string HeadImg
        {
            set { _headimg = value; }
            get { return _headimg; }
        }
        /// <summary>
        /// 授权方公众号类型，0代表订阅号，1代表由历史老帐号升级后的订
        /// </summary>
        public string ServiceTypeInfo
        {
            set { _servicetypeinfo = value; }
            get { return _servicetypeinfo; }
        }
        /// <summary>
        /// 授权方认证类型，-1代表未认证，0代表微信认证，1代表新浪微
        /// </summary>
        public string VerifyTypeInfo
        {
            set { _verifytypeinfo = value; }
            get { return _verifytypeinfo; }
        }
        /// <summary>
        /// 授权方公众号的原始ID
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 公众号的主体名称
        /// </summary>
        public string PrincipalName
        {
            set { _principalname = value; }
            get { return _principalname; }
        }
        /// <summary>
        /// 授权方公众号所设置的微信号，可能为空
        /// </summary>
        public string Alias
        {
            set { _alias = value; }
            get { return _alias; }
        }
        /// <summary>
        /// 用以了解以下功能的开通状况（0代表未开通，1代表已开通）： 
        /// </summary>
        public string BusinessInfos
        {
            set { _businessinfo = value; }
            get { return _businessinfo; }
        }
        /// <summary>
        /// 二维码图片的URL，开发者最好自行也进行保存
        /// </summary>
        public string QrcodeUrl
        {
            set { _qrcodeurl = value; }
            get { return _qrcodeurl; }
        }
        /// <summary>
        /// 授权信息
        /// </summary>
        public string AuthorizationInfo
        {
            set { _authorizationinfo = value; }
            get { return _authorizationinfo; }
        }
        /// <summary>
        /// 授权方appid
        /// </summary>
        public string AuthorizationAppID
        {
            set { _authorizationappid = value; }
            get { return _authorizationappid; }
        }
        /// <summary>
        /// 公众号授权给开发者的权限集列表，ID为1到15时分别代表： 
        /// </summary>
        public string FuncInfo
        {
            set { _funcinfo = value; }
            get { return _funcinfo; }
        }
        /// <summary>
        /// 授权方令牌
        /// </summary>
        public string AuthorizerAccessToken
        {
            set { _authorizeraccesstoken = value; }
            get { return _authorizeraccesstoken; }
        }
        /// <summary>
        /// 刷新令牌
        /// </summary>
        public string AuthorizerRefreshToken
        {
            set { _authorizerrefreshtoken = value; }
            get { return _authorizerrefreshtoken; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model
    }
}

